package bean;

import java.sql.Timestamp;

import java.util.List;
import java.util.jar.JarEntry;

public class ScreeningSchedule {
    private int id;
    private Movie movie;
    private VideoHall videoHall;
    private Timestamp startTime;
    private Timestamp endTime;
    private Cinema cinema;

    private int seatNum;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Movie getMovie() {
        return movie;
    }

    public void setMovie(Movie movie) {
        this.movie = movie;
    }

    public Cinema getCinema(){return cinema;}

    public void setCinema(Cinema cinema){this.cinema=cinema;}


    public VideoHall getVideoHall() {
        return videoHall;
    }

    public void setVideoHall(VideoHall videoHall) {
        this.videoHall = videoHall;
    }

    public Timestamp getStartTime() {
        return startTime;
    }

    public void setStartTime(Timestamp startTime) {
        this.startTime = startTime;
    }

    public Timestamp getEndTime() {
        return endTime;
    }

    public void setEndTime(Timestamp endTime) {
        this.endTime = endTime;
    }



    public int getSeatNum() {
        return seatNum;
    }

    public void setSeatNum(int seatNum) {
        this.seatNum = seatNum;
    }

    @Override
    public String toString() {
        return "ScreeningSchedule{" +
                "id=" + id +
                ", movie=" + movie +
                ", videoHall=" + videoHall +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", seatNum=" + seatNum +
                '}';
    }
}
